<!DOCTYPE html>
<html lang="en">
{% load static %}

<head>
    <title>中奖了，中奖了！</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <link href="{% static 'common/bootstrap.min.css' %}" rel="stylesheet" type="text/css">
    <link href="{% static 'common/bootstrap-table/bootstrap-table.min.css' %}" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="{% static 'index/css/index.css' %}">

    {#<link rel="stylesheet" type="text/css" href="../static/index/css/index.css">#}
    {#<link rel="stylesheet" type="text/css" href="../static/common/bootstrap.min.css">#}
    {#<link rel="stylesheet" type="text/css" href="../static/common/bootstrap-table/bootstrap-table.min.css">#}
</head>

<body>

<!--导航栏-->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark"><a class="navbar-brand label-success">导航</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span
            class="navbar-toggler-icon"></span></button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav mr-auto">
            <li> &nbsp;</li>
            <li class="nav-item"><a class="nav-link" href="/">首页</a></li>
            <li> &nbsp;</li>

            <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdown1"
                                             role="button" data-toggle="dropdown" aria-haspopup="true"
                                             aria-expanded="false"> 大乐透 </a>
                <div class="dropdown-menu" aria-labelledby="navbarDropdown1">
                    <a class="dropdown-item" href="/DLT">开奖信息</a>
                    <a class="dropdown-item" href="/DLT/bet_data">投注信息</a>
                    <a class="dropdown-item" href="/DLT/bet">投注</a>
                    <div class="dropdown-divider"></div>
                </div>
            </li>

            <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdown3"
                                             role="button" data-toggle="dropdown" aria-haspopup="true"
                                             aria-expanded="false"> 双色球 </a>
                <div class="dropdown-menu" aria-labelledby="navbarDropdown1">
                    <a class="dropdown-item" href="/SSQ">开奖信息</a>
                    <a class="dropdown-item" href="/SSQ/bet_data">投注信息</a>
                    <a class="dropdown-item" href="/SSQ/bet">投注</a>

                </div>

            </li>
            <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdown3"
                                             role="button" data-toggle="dropdown" aria-haspopup="true"
                                             aria-expanded="false"> 数据管理 </a>
                <div class="dropdown-menu" aria-labelledby="navbarDropdown1">

                    <a class="dropdown-item" href="javascript:refresh_all_history_data()">刷新所有开奖数据</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" download="ok.xls" href="javascript:download_excel()">导出数据</a>

                    <a class="dropdown-item" href="">导入数据</a>
                    <div class="dropdown-divider"></div>
                </div>

            </li>


        </ul>
    </div>
</nav>
<hr style="background-color: #dedee2;height: 2px;border: none;">


<div>
    <div align="center">
        <a href="/DLT"><img src="{% static 'index/img/大乐透.png' %}" width="400" height="400" alt="大乐透"/></a>

        <a href="/SSQ"><img src="{% static 'index/img/双色球.png' %}" width="367" height="400" alt="双色球"/></a>
    </div>
</div>

<!--信息显示窗div-->
<div id="div_index_display">

</div>

<hr style="background-color: #dedee2;height: 2px;border: none;">


<!--需要引用的js库-->
<script src="{% static 'common/jquery.js' %}"></script>
<script src="{% static 'common/popper.js' %}"></script>
<script src="{% static 'common/bootstrap.min.js' %}"></script>
<script src="{% static 'common/bootstrap-table/bootstrap-table.min.js' %}"></script>
<script src="{% static 'common/bootstrap-table/bootstrap-table-locale-all.min.js' %}"></script>
<script src="{% static 'common/echarts.min.js' %}"></script>
<script src="{% static 'index/js/index.js' %}"></script>


{#<script src="../static/common/jquery.js"></script>#}
{#<script src="../static/common/bootstrap.min.js"></script>#}
{#<script src="../static/common/popper.js"></script>#}
{#<script src="../static/common/echarts.min.js"></script>#}
{#<script src="../static/common/bootstrap-table.min.js"></script>#}
{#<script src="../static/common/bootstrap-table-locale-all.min.js"></script>#}
{#<script src="../static/index/js/index.js"></script>#}

<!-- csrf token  -->
<script>
    $.ajaxSetup({
        data: {csrfmiddlewaretoken: '{{ csrf_token }}'},
    });
</script>

</body>
</html>